|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| virtual void | UnderExplosion (Vector3 impulse, float damage) |
| virtual void | Load (ValuesDictionary valuesDictionary) |
Public 属性 | |
| int | Value |
| Vector3 | Position |
| Vector3 | Velocity |
| double | CreationTime |
| int | Light |
| bool | ToRemove |
| IInventory | Creator |
| bool | IsFireProof = false |
| float? | MaxTimeExist |
| float | ExplosionMass = 20f |
| bool | LogDrawError = true |
| ValuesDictionary | DictionaryForOtherMods = new() |
| 模组可以向Dictionary里面添加内容,另一个模组可以从Dictionary读取内容,以实现模组联动效果 | |
在文件 WorldItem.cs 第 5 行定义.
|
virtual |
被 Game.Pickable , 以及 Game.Projectile 重载.
在文件 WorldItem.cs 第 34 行定义.
|
virtual |
被 Game.Pickable , 以及 Game.Projectile 重载.
在文件 WorldItem.cs 第 33 行定义.
| double Game.WorldItem.CreationTime |
在文件 WorldItem.cs 第 12 行定义.
| IInventory Game.WorldItem.Creator |
在文件 WorldItem.cs 第 18 行定义.
| ValuesDictionary Game.WorldItem.DictionaryForOtherMods = new() |
模组可以向Dictionary里面添加内容,另一个模组可以从Dictionary读取内容,以实现模组联动效果
在文件 WorldItem.cs 第 31 行定义.
| float Game.WorldItem.ExplosionMass = 20f |
在文件 WorldItem.cs 第 24 行定义.
| bool Game.WorldItem.IsFireProof = false |
在文件 WorldItem.cs 第 20 行定义.
| int Game.WorldItem.Light |
在文件 WorldItem.cs 第 14 行定义.
| bool Game.WorldItem.LogDrawError = true |
在文件 WorldItem.cs 第 26 行定义.
| float? Game.WorldItem.MaxTimeExist |
在文件 WorldItem.cs 第 22 行定义.
| Vector3 Game.WorldItem.Position |
在文件 WorldItem.cs 第 8 行定义.
| bool Game.WorldItem.ToRemove |
在文件 WorldItem.cs 第 16 行定义.
| int Game.WorldItem.Value |
在文件 WorldItem.cs 第 6 行定义.
| Vector3 Game.WorldItem.Velocity |
在文件 WorldItem.cs 第 10 行定义.