public void FromBin(NetSocket.ByteArray bin) { byte temp; bin.Get_(out temp); type = (twp.app.unit.UnitType)temp; innerUnion.FromBin(type, bin); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_(out aura_type_idx); bin.Get_(out effect_type); unit_idx.FromBin(bin); int temp; bin.Get_(out temp); event_type = (EventType)temp; bin.Get_(out lifetime); innerUnion.FromBin((EffectType)effect_type, bin); }