public override void OnRelease() { this.bGameMode = 0; this.bMapType = 0; this.dwMapId = 0u; this.bExtraType = 0; if (this.stExtraInfo != null) { this.stExtraInfo.Release(); this.stExtraInfo = null; } }
public CSPKG_CREATEULTIGAMEREQ() { this.szRoomName = new sbyte[64]; this.stExtraInfo = (COMDT_CREATEINFO_EXTRA)ProtocolObjectPool.Get(COMDT_CREATEINFO_EXTRA.CLASS_ID); }
public override void OnUse() { this.stExtraInfo = (COMDT_CREATEINFO_EXTRA)ProtocolObjectPool.Get(COMDT_CREATEINFO_EXTRA.CLASS_ID); }