Exemplo n.º 1
0
 private void Event_PlayerJoin(IClientPlayer byPlayer)
 {
     if (!didSelect && byPlayer.PlayerUID == capi.World.Player.PlayerUID)
     {
         dlg = new GuiDialogCreateCharacter(capi, this);
         dlg.PrepAndOpen();
     }
 }
Exemplo n.º 2
0
        private void onCharSelCmd(int groupId, CmdArgs args)
        {
            if (dlg == null)
            {
                dlg = new GuiDialogCreateCharacter(capi, this);
                dlg.PrepAndOpen();
            }

            if (!dlg.IsOpened())
            {
                dlg.TryOpen();
            }
        }