public NetEventPlugin_asdf(user_id_t pp_id, CmdEventManager gui, NetEventManager msg) { m_User = new User_asdf(this); m_UserID = pp_id; m_CMD = gui; m_MSG = msg; }
public NetEventPlugin_baseball(user_id_t pp_id, CmdEventManager gui, NetEventManager msg) { m_User = new jUser(this); //Debug.Log("NetEventPlugin_baseball create" + pp_id); m_UserID = pp_id; m_CMD = gui; m_MSG = msg; }
public void Start() { m_CMD = gameObject.GetComponent <CmdEventManager>(); if (m_CMD == null) { throw new System.Exception("m_CMD==null"); } m_MSG = m_CMD.m_MSG; if (m_MSG == null) { throw new System.Exception("m_MSG==null"); } }
//#-------------------------------------------------------------------------- // prototected //#-------------------------------------------------------------------------- protected void Set_jGuiWindow(jGuiWindow win) { m_jGuiStage = win.GetStage(); m_jGuiWindow = win; if (m_jGuiStage == null || m_jGuiWindow == null) { throw new System.Exception("m_jGuiStage==null || m_jGuiWindow == null"); } m_GUI = gameObject.GetComponent <GuiEventManager>(); m_CMD = m_GUI.m_CMD; if (m_CMD == null) { throw new System.Exception("m_CMD==null"); } }
public jPlayerPrefs(CmdEventManager cmd) { m_CMD = cmd; }