public PlayerLeftScriptClient(RoomInformations Owner, BattleMapOnlineClient Client, GamePreparationScreen MissionSelectScreen)
     : base(ScriptName)
 {
     this.Owner  = Owner;
     this.Client = Client;
     this.MissionSelectScreen = MissionSelectScreen;
 }
 public CreateGameScriptClient(BattleMapOnlineClient Owner, List <GameScreen> ListGameScreen, PVPRoomInformations Room)
     : base(ScriptName)
 {
     this.Owner          = Owner;
     this.ListGameScreen = ListGameScreen;
     this.Room           = Room;
 }
        public ReceiveGameDataScriptClient(BattleMapOnlineClient Owner)
            : base(ScriptName)
        {
            this.Owner = Owner;

            ArrayGameData = null;
        }
        public static Dictionary <string, OnlineScript> GetBattleMapScriptsClient(BattleMapOnlineClient Owner)
        {
            Dictionary <string, OnlineScript> DicNewScript = new Dictionary <string, OnlineScript>();

            DicNewScript.Add(ReceiveGameDataScriptClient.ScriptName, new ReceiveGameDataScriptClient(Owner));
            DicNewScript.Add(MoveCursorScriptClient.ScriptName, new MoveCursorScriptClient(Owner));
            //DicNewScript.Add(GameEndedScriptClient.ScriptName, new GameEndedScriptClient(Owner));

            return(DicNewScript);
        }
示例#5
0
        public JoinRoomLocalScriptClient(BattleMapOnlineClient OnlineGameClient, CommunicationClient OnlineCommunicationClient, GameScreen ScreenOwner, bool RemoveOwner = false)
            : base(ScriptName)
        {
            this.OnlineGameClient          = OnlineGameClient;
            this.OnlineCommunicationClient = OnlineCommunicationClient;
            this.ScreenOwner = ScreenOwner;
            this.RemoveOwner = RemoveOwner;

            HasGame             = false;
            ListJoiningPlayerID = new List <string>();
        }
 public SendRoomIDScriptClient(BattleMapOnlineClient OnlineGameClient, CommunicationClient OnlineCommunicationClient, GameScreen ScreenOwner,
                               string RoomName, string RoomType, string RoomSubtype, byte MinNumberOfPlayer, byte MaxNumberOfPlayer)
     : base(ScriptName)
 {
     this.OnlineGameClient          = OnlineGameClient;
     this.OnlineCommunicationClient = OnlineCommunicationClient;
     this.ScreenOwner       = ScreenOwner;
     this.RoomName          = RoomName;
     this.RoomType          = RoomType;
     this.RoomSubtype       = RoomSubtype;
     this.MinNumberOfPlayer = MinNumberOfPlayer;
     this.MaxNumberOfPlayer = MaxNumberOfPlayer;
 }
 public MoveCursorScriptClient(BattleMapOnlineClient Owner)
     : base(ScriptName)
 {
     this.Owner = Owner;
 }
 public JoinRoomFailedScriptClient(BattleMapOnlineClient Owner, Lobby ScreenOwner)
     : base(ScriptName)
 {
     this.Owner       = Owner;
     this.ScreenOwner = ScreenOwner;
 }
示例#9
0
 public OpenMenuScriptClient(BattleMapOnlineClient Owner, Dictionary <string, ActionPanel> DicActionPanel)
     : base(ScriptName)
 {
     this.Owner          = Owner;
     this.DicActionPanel = DicActionPanel;
 }