Beispiel #1
0
 public void Assign(ref AppMain.A2S_SUB_RECT rect)
 {
     this.left   = rect.left;
     this.top    = rect.top;
     this.right  = rect.right;
     this.bottom = rect.bottom;
 }
Beispiel #2
0
 public void Assign(AppMain.A2S_AMA_ACT old)
 {
     this.flag    = old.flag;
     this.id      = old.flag;
     this.frm_num = old.frm_num;
     this.pad1    = old.pad1;
     this.ofst    = old.ofst;
     if (old.mtn != null)
     {
         this.mtn = new AppMain.A2S_AMA_MTN();
         this.mtn.Assign(old.mtn);
     }
     if (old.anm != null)
     {
         this.anm = new AppMain.A2S_AMA_ANM();
         this.anm.Assign(old.anm);
     }
     if (old.acm != null)
     {
         this.acm = new AppMain.A2S_AMA_ACM();
         this.acm.Assign(old.acm);
     }
     if (old.usr != null)
     {
         this.usr = new AppMain.A2S_AMA_USR();
         this.usr.Assign(old.usr);
     }
     if (old.hit == null)
     {
         return;
     }
     this.hit = new AppMain.A2S_AMA_HIT();
     this.hit.Assign(old.hit);
 }
Beispiel #3
0
 internal void Assign(AppMain.A2S_SUB_ANM old)
 {
     this.tex_id       = old.tex_id;
     this.clamp        = old.clamp;
     this.filter       = old.filter;
     this.texel_accele = old.texel_accele;
     this.texel        = old.texel;
 }
Beispiel #4
0
 internal void Assign(AppMain.A2S_SUB_HIT old)
 {
     this.flag       = old.flag;
     this.type       = old.type;
     this.hit_accele = old.hit_accele;
     this.pad        = old.pad;
     this.rect       = old.rect;
     this.circle     = old.circle;
 }