|
My Project v1
Project
|


Public 成员函数 | |
| override void | Load (ValuesDictionary valuesDictionary) |
| virtual void | Initialize (int value, int count, Vector3 position, Vector3? velocity, Matrix? stuckMatrix, Entity owner) |
| virtual void | Update (float dt) |
| virtual void | UpdateMovement (float dt, ref Vector3 positionAtdt) |
| virtual void | UpdateMovementWithTarget (ComponentPickableGatherer targetGatherer, float dt) |
| override void | UnderExplosion (Vector3 impulse, float damage) |
| virtual void | Draw (Camera camera, int drawOrder, double totalElapsedGameTime, Matrix rotationMatrix) |
| virtual void | Save (ValuesDictionary valuesDictionary) |
Public 成员函数 继承自 Game.WorldItem | |
Public 属性 | |
| int | Count |
| Vector3? | FlyToPosition |
| Matrix? | StuckMatrix |
| bool | SplashGenerated = true |
| bool | IsExplosionProof = false |
| ComponentPickableGatherer | FlyToGatherer |
| SubsystemPickables | SubsystemPickables |
| SubsystemTerrain | SubsystemTerrain |
| SubsystemExplosions | SubsystemExplosions |
| Entity | OwnerEntity |
Public 属性 继承自 Game.WorldItem | |
| 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 ValuesDictionary() |
| 模组可以向Dictionary里面添加内容,另一个模组可以从Dictionary读取内容,以实现模组联动效果 | |
Protected 属性 | |
| double | m_timeWaitToAutoPick = 0.5 |
| float | m_distanceToPick = 1f |
| float | m_distanceToFlyToTarget = 1.75f |
| SubsystemMovingBlocks | m_subsystemMovingBlocks |
属性 | |
| virtual double | TimeWaitToAutoPick [get] |
| virtual float | DistanceToPick [get] |
| virtual float | DistanceToFlyToTarget [get] |
| SubsystemMovingBlocks | SubsystemMovingBlocks [get] |
Private 属性 | |
| Random | m_random = new Random() |
|
virtual |


|
virtual |

|
virtual |
重载 Game.WorldItem .
|
virtual |

|
virtual |
|
virtual |


|
virtual |


|
virtual |

| int Game.Pickable.Count |
| ComponentPickableGatherer Game.Pickable.FlyToGatherer |
| Vector3? Game.Pickable.FlyToPosition |
| bool Game.Pickable.IsExplosionProof = false |
|
protected |
|
protected |
|
protected |
|
protected |
| Entity Game.Pickable.OwnerEntity |
| bool Game.Pickable.SplashGenerated = true |
| Matrix? Game.Pickable.StuckMatrix |
| SubsystemExplosions Game.Pickable.SubsystemExplosions |
| SubsystemPickables Game.Pickable.SubsystemPickables |
| SubsystemTerrain Game.Pickable.SubsystemTerrain |
|
get |
|
get |
|
get |
|
get |