コード例 #1
0
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     param1.ReadShort();
     this.maxFlashes   = param1.ReadInt();
     this.maxFlashes   = param1.Shift(this.maxFlashes, 21);
     this.buttonAction = param1.ReadShort();
     this.buttonID     = lookup.Lookup(param1) as ButtonIDModule;
     this.buttonID.Read(param1, lookup);
     this.showArrow = param1.ReadBoolean();
 }
コード例 #2
0
 public UIButtonActionModule(short param1 = 0, ButtonIDModule param2 = null, int param3 = 0, bool param4 = false)
 {
     this.buttonAction = param1;
     if (param2 == null)
     {
         this.buttonID = new ButtonIDModule();
     }
     else
     {
         this.buttonID = param2;
     }
     this.maxFlashes = param3;
     this.showArrow  = param4;
 }