public static void OnSurrenderNtf(CSPkg msg) { SCPKG_SURRENDER_NTF stSurrenderNtf = msg.stPkgData.stSurrenderNtf; Singleton <CSurrenderSystem> .instance.OnSurrenderNtf(stSurrenderNtf); }
public void OnSurrenderNtf(SCPKG_SURRENDER_NTF surrenderNtf) { this.m_lastSurrenderTime = surrenderNtf.dwSurrenderTime; this.OpenSurrenderForm((int)surrenderNtf.bSurrenderValidCnt, (int)surrenderNtf.bSurrenderCnt, surrenderNtf.bSurrenderData); }