Exemple #1
0
 public Group(string groupname, Group parentgroup = null, string chatcolor = "255,255,255", string permissions = null)
 {
     Name = groupname;
     Parent = parentgroup;
     ChatColor = chatcolor;
     Permissions = permissions;
 }
Exemple #2
0
 protected TPPlayer(String playerName)
 {
     TilesDestroyed = new Dictionary<Vector2, TileData>();
     TilesCreated = new Dictionary<Vector2, TileData>();
     Index = -1;
     FakePlayer = new Player {name = playerName, whoAmi = -1};
     Group = new Group(tPulse.Config.DefaultGuestGroupName);
     AwaitingResponse = new Dictionary<string, Action<object>>();
 }
Exemple #3
0
 public TPPlayer(int index)
 {
     TilesDestroyed = new Dictionary<Vector2, TileData>();
     TilesCreated = new Dictionary<Vector2, TileData>();
     Index = index;
     Group = new Group(tPulse.Config.DefaultGuestGroupName);
     IceTiles = new List<Point>();
     AwaitingResponse = new Dictionary<string, Action<object>>();
 }
Exemple #4
0
 public Group(string groupname, Group parentgroup, string chatcolor)
     : this(groupname, parentgroup, chatcolor, null)
 {
 }