예제 #1
0
        public void OnServerConnect(Player player)
        {
            var mymod = ModHelpersMod.Instance;

            this.HasSyncedWorldData = true;
            this.IsSynced           = true;     // Technically this should only be set upon sync receipt of player's 'old' uid...

            CustomLoadHooks.TriggerHook(PlayerLogic.ServerConnectHookValidator, PlayerLogic.MyValidatorKey, player.whoAmI);

            PlayerOldIdProtocol.QuickRequestToClient(player.whoAmI);
            PlayerNewIdProtocol.QuickRequestToClient(player.whoAmI);
        }
예제 #2
0
 public void OnCurrentClientConnect(Player player)
 {
     PlayerNewIdProtocol.QuickSendToServer();
 }