Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.PlayerInput
Game.PlayerInput 的协作图:

Public 成员函数

 PlayerInput ()

Public 属性

Vector2 Look
Vector3 Move
Vector3 CrouchMove
Vector3? VrMove
Vector2? VrLook
Vector2 CameraLook
Vector3 CameraMove
Vector3 CameraCrouchMove
bool ToggleCreativeFly
bool ToggleCrouch
bool ToggleMount
bool EditItem
bool Jump
int ScrollInventory
bool ToggleInventory
bool ToggleClothing
bool TakeScreenshot
bool SwitchCameraMode
bool TimeOfDay
bool Lighting
bool Precipitation
bool Fog
bool KeyboardHelp
bool GamepadHelp
Ray3? Dig
Ray3? Hit
Ray3? Aim
Ray3? Interact
Ray3? PickBlockType
bool Drop
int? SelectInventorySlot
ValuesDictionary ValuesDictionaryForMods = new()
 模组如果需要添加或使用额外信息,可以在这个ValuesDictionary读写元素

详细描述

在文件 PlayerInput.cs 第 5 行定义.

构造及析构函数说明

◆ PlayerInput()

Game.PlayerInput.PlayerInput ( )

在文件 PlayerInput.cs 第 6 行定义.

类成员变量说明

◆ Aim

Ray3? Game.PlayerInput.Aim

在文件 PlayerInput.cs 第 59 行定义.

◆ CameraCrouchMove

Vector3 Game.PlayerInput.CameraCrouchMove

在文件 PlayerInput.cs 第 21 行定义.

◆ CameraLook

Vector2 Game.PlayerInput.CameraLook

在文件 PlayerInput.cs 第 17 行定义.

◆ CameraMove

Vector3 Game.PlayerInput.CameraMove

在文件 PlayerInput.cs 第 19 行定义.

◆ CrouchMove

Vector3 Game.PlayerInput.CrouchMove

在文件 PlayerInput.cs 第 11 行定义.

◆ Dig

Ray3? Game.PlayerInput.Dig

在文件 PlayerInput.cs 第 55 行定义.

◆ Drop

bool Game.PlayerInput.Drop

在文件 PlayerInput.cs 第 65 行定义.

◆ EditItem

bool Game.PlayerInput.EditItem

在文件 PlayerInput.cs 第 29 行定义.

◆ Fog

bool Game.PlayerInput.Fog

在文件 PlayerInput.cs 第 49 行定义.

◆ GamepadHelp

bool Game.PlayerInput.GamepadHelp

在文件 PlayerInput.cs 第 53 行定义.

◆ Hit

Ray3? Game.PlayerInput.Hit

在文件 PlayerInput.cs 第 57 行定义.

◆ Interact

Ray3? Game.PlayerInput.Interact

在文件 PlayerInput.cs 第 61 行定义.

◆ Jump

bool Game.PlayerInput.Jump

在文件 PlayerInput.cs 第 31 行定义.

◆ KeyboardHelp

bool Game.PlayerInput.KeyboardHelp

在文件 PlayerInput.cs 第 51 行定义.

◆ Lighting

bool Game.PlayerInput.Lighting

在文件 PlayerInput.cs 第 45 行定义.

◆ Look

Vector2 Game.PlayerInput.Look

在文件 PlayerInput.cs 第 7 行定义.

◆ Move

Vector3 Game.PlayerInput.Move

在文件 PlayerInput.cs 第 9 行定义.

◆ PickBlockType

Ray3? Game.PlayerInput.PickBlockType

在文件 PlayerInput.cs 第 63 行定义.

◆ Precipitation

bool Game.PlayerInput.Precipitation

在文件 PlayerInput.cs 第 47 行定义.

◆ ScrollInventory

int Game.PlayerInput.ScrollInventory

在文件 PlayerInput.cs 第 33 行定义.

◆ SelectInventorySlot

int? Game.PlayerInput.SelectInventorySlot

在文件 PlayerInput.cs 第 67 行定义.

◆ SwitchCameraMode

bool Game.PlayerInput.SwitchCameraMode

在文件 PlayerInput.cs 第 41 行定义.

◆ TakeScreenshot

bool Game.PlayerInput.TakeScreenshot

在文件 PlayerInput.cs 第 39 行定义.

◆ TimeOfDay

bool Game.PlayerInput.TimeOfDay

在文件 PlayerInput.cs 第 43 行定义.

◆ ToggleClothing

bool Game.PlayerInput.ToggleClothing

在文件 PlayerInput.cs 第 37 行定义.

◆ ToggleCreativeFly

bool Game.PlayerInput.ToggleCreativeFly

在文件 PlayerInput.cs 第 23 行定义.

◆ ToggleCrouch

bool Game.PlayerInput.ToggleCrouch

在文件 PlayerInput.cs 第 25 行定义.

◆ ToggleInventory

bool Game.PlayerInput.ToggleInventory

在文件 PlayerInput.cs 第 35 行定义.

◆ ToggleMount

bool Game.PlayerInput.ToggleMount

在文件 PlayerInput.cs 第 27 行定义.

◆ ValuesDictionaryForMods

ValuesDictionary Game.PlayerInput.ValuesDictionaryForMods = new()

模组如果需要添加或使用额外信息,可以在这个ValuesDictionary读写元素

在文件 PlayerInput.cs 第 72 行定义.

◆ VrLook

Vector2? Game.PlayerInput.VrLook

在文件 PlayerInput.cs 第 15 行定义.

◆ VrMove

Vector3? Game.PlayerInput.VrMove

在文件 PlayerInput.cs 第 13 行定义.


该结构体的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/PlayerInput.cs