public void onClickSendCodeItem() { if (GameFactory.getUnityManager().net == null) { return; } var dat = game.net.CreateStoryCode.NoonItem(GameFactory.getGame().localData.myPlayer, noon4_item.getSelect()); string code = GameFactory.getNetworkManager().createCodeSendData(dat); GameFactory.getUnityManager().net.sendCode(code, RPCMode.Server); }
public void onClickOk() { if (GameFactory.getUnityManager().net == null) return; var dat = game.net.CreateStoryCode.MidnightSelect(GameFactory.getGame().localData.myPlayer, mid1_chara.getSelect(), mid1_item.getSelect()); string code = GameFactory.getNetworkManager().createCodeSendData(dat); GameFactory.getUnityManager().net.sendCode(code, RPCMode.Server); }