This is the base GameRules interface. All game rules must implement this.
Inheritance: EntityBase
Exemplo n.º 1
0
        internal void InternalInitialize()
        {
            Current = this;

            Id = 1;
            this.SetIEntity(NativeEntityMethods.GetEntity(Id));
        }
Exemplo n.º 2
0
        internal override bool InternalInitialize(IScriptInitializationParams initParams)
        {
            Current = this;

            var gameRulesInitParams = (GameRulesInitializationParams)initParams;

            Id = gameRulesInitParams.id;
            this.SetIEntity(gameRulesInitParams.entityPtr);

            return base.InternalInitialize(initParams);
        }