示例#1
0
        public void WriteData(MyData.Writer writer)
        {
            writer.Int(MoveToPos_MaxDist, "moveToPos_MaxDist");

            writer.Bool(AcceptJob_Mining, "acceptJob_Mining");
            writer.Bool(AcceptJob_Build, "acceptJob_Build");

            writer.Float(SleepWhen_EnergyBelow, "sleepWhen_EnergyBelow");
            writer.Float(SleepWhen_HealthBelow, "sleepWhen_HealthBelow");

            writer.Bool(GrowingUpIsEmergency, "growingUpIsEmergency");
        }
示例#2
0
        public virtual void WriteData(MyData.Writer writer)
        {
            writer.Vec2i(Pos, "pos");

            writer.UInt64(ID, "id");
            writer.UInt64(MyGroupID, "myGroup");

            writer.Bool(IsIDRegistered, "isIDRegistered");
        }
示例#3
0
 public virtual void WriteData(MyData.Writer writer)
 {
     writer.Bool(IsEmergency, "isEmergency");
     writer.String(SuccessMessage, "successMessage");
 }