Beispiel #1
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.killerEpppLink = param1.ReadUTF();
     this.options.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as KillScreenOptionModule;
         tmp_0.Read(param1, lookup);
         this.options.Add(tmp_0);
     }
     param1.ReadShort();
     this.killerName      = param1.ReadUTF();
     this.playerShipAlias = param1.ReadUTF();
     this.cause           = lookup.Lookup(param1) as DestructionTypeModule;
     this.cause.Read(param1, lookup);
 }
Beispiel #2
0
 public KillScreenPostCommand(string param1 = "", string param2 = "", string param3 = "", DestructionTypeModule param4 = null, List <KillScreenOptionModule> param5 = null)
 {
     this.killerName      = param1;
     this.killerEpppLink  = param2;
     this.playerShipAlias = param3;
     if (param4 == null)
     {
         this.cause = new DestructionTypeModule();
     }
     else
     {
         this.cause = param4;
     }
     if (param5 == null)
     {
         this.options = new List <KillScreenOptionModule>();
     }
     else
     {
         this.options = param5;
     }
 }