Survivalcraft API 1.8.2.3
v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
SmallEvent.cs
浏览该文件的文档.
1
using
System.Runtime.InteropServices;
2
3
namespace
Engine.Browser
{
4
[StructLayout(LayoutKind.Explicit, Size = 4)]
5
public
struct
SmallEvent
{
6
[FieldOffset(0)]
public
InputEventType
Type
;
7
[FieldOffset(1)]
public
byte
Param
;
// KeyCode / Button / FingerId
8
[FieldOffset(2)]
public
ushort
Payload
;
// Char / GamepadIndex / Modifier
9
}
10
}
Engine.Browser
定义
AL.cs:1
Engine.Browser.InputEventType
InputEventType
定义
InputEventType.cs:2
Engine.Browser.SmallEvent
定义
SmallEvent.cs:5
Engine.Browser.SmallEvent.Param
byte Param
定义
SmallEvent.cs:7
Engine.Browser.SmallEvent.Type
InputEventType Type
定义
SmallEvent.cs:6
Engine.Browser.SmallEvent.Payload
ushort Payload
定义
SmallEvent.cs:8
SurvivalcraftApi 1.8.2.3
Engine
Engine.Browser
SmallEvent.cs
制作者
1.16.1