private void createPlayer(Variant m) { uint iid = m["iid"]._uint; uint cid = m["cid"]._uint; LGAvatarOther ct = new LGAvatarOther(this.g_mgr); _playersByIid[iid] = ct; _playersByCid[cid] = ct; //if( info.ContainsKey("moving") ) //{ // //DebugTrace.print("other player todo moving!"); //} //if( info.ContainsKey( "atking" ) ) //{ // //DebugTrace.print("other player todo atking!"); //} //if( info.ContainsKey( "states" ) ) //{ // //DebugTrace.print("other player todo states!"); //} ct.initData(m); ct.init(); this.g_mgr.g_processM.addRender(ct); }
private void createPlayer(Variant m) { uint @uint = m["iid"]._uint; uint uint2 = m["cid"]._uint; LGAvatarOther lGAvatarOther = new LGAvatarOther(this.g_mgr); this._playersByIid[@uint] = lGAvatarOther; this._playersByCid[uint2] = lGAvatarOther; lGAvatarOther.initData(m); lGAvatarOther.init(); this.g_mgr.g_processM.addRender(lGAvatarOther, false); }