Beispiel #1
0
 public override void Init(GClass264 gclass264_0)
 {
     base.Init(gclass264_0);
     if (gclass264_0.bool_2)
     {
         this.Type = NpcUtils.NpcType.smethod_5(base.Name);
     }
     this.Range = SecurityManager.smethod_3(this);
 }
Beispiel #2
0
 public GClass574(GClass264 gclass264_1 = null, GClass645 gclass645_1 = null, bool bool_1 = false, int int_1 = 0, GClass512 gclass512_4 = null, GClass512 gclass512_5 = null, GClass512 gclass512_6 = null, GClass512 gclass512_7 = null)
 {
     Class13.NP5bWyNzLwONS();
     base..ctor();
     if (gclass264_1 == null)
     {
         this.gclass264_0 = new GClass264(0U);
     }
     else
     {
         this.gclass264_0 = gclass264_1;
     }
     if (gclass645_1 == null)
     {
         this.gclass645_0 = new GClass645(0U, 0);
     }
     else
     {
         this.gclass645_0 = gclass645_1;
     }
     this.bool_0 = bool_1;
     this.int_0  = int_1;
     if (gclass512_4 == null)
     {
         this.gclass512_1 = new GClass512("", null, null);
     }
     else
     {
         this.gclass512_1 = gclass512_4;
     }
     if (gclass512_5 == null)
     {
         this.gclass512_3 = new GClass512("", null, null);
     }
     else
     {
         this.gclass512_3 = gclass512_5;
     }
     if (gclass512_6 == null)
     {
         this.gclass512_2 = new GClass512("", null, null);
     }
     else
     {
         this.gclass512_2 = gclass512_6;
     }
     if (gclass512_7 == null)
     {
         this.gclass512_0 = new GClass512("", null, null);
         return;
     }
     this.gclass512_0 = gclass512_7;
 }
Beispiel #3
0
 public GClass167(GClass264 gclass264_1 = null, GClass242 gclass242_1 = null)
 {
     Class13.NP5bWyNzLwONS();
     base..ctor();
     if (gclass264_1 == null)
     {
         this.gclass264_0 = new GClass264(0U);
     }
     else
     {
         this.gclass264_0 = gclass264_1;
     }
     if (gclass242_1 == null)
     {
         this.gclass242_0 = new GClass242(0, 0, "", "", 0);
         return;
     }
     this.gclass242_0 = gclass242_1;
 }
Beispiel #4
0
 public virtual void Init(GClass264 gclass264_0)
 {
     this.PosX          = gclass264_0.int_1;
     this.PosY          = gclass264_0.int_2;
     this.IsNpc         = gclass264_0.bool_2;
     this.FactionId     = gclass264_0.int_3;
     this.Id            = gclass264_0.int_0;
     this.TypeId        = gclass264_0.string_0;
     this.ClanTag       = gclass264_0.string_1;
     this.Cloaked       = gclass264_0.bool_3;
     this.Name          = gclass264_0.string_2;
     this.ClanDiplomacy = gclass264_0.gclass139_0.int_0;
     this.Modifiers.Clear();
     this.Effects.Clear();
     foreach (GClass187 gclass187_ in gclass264_0.vector_0)
     {
         this.ApplyModifier(gclass187_);
     }
     this.LastStatUpdate = DateTimeOffset.Now;
 }
Beispiel #5
0
 public void method_15(GClass264 gclass264_0)
 {
     this.Map.yZubzmcSq5(gclass264_0);
 }