private void onGroupCreated(object sender, GroupCreatedEventArgs e) { PlayerContext playerContext = (PlayerContext)e.Message.GroupContext; int ownerId = playerContext.AllOtherPlayersGroupId; playerContext.AllOtherPlayersGroupId = e.Message.GroupID; }
private void OnGroupCreated(object sender, GroupCreatedEventArgs e) { _requestHander.AddGroup(e.Groupname, e.UserList); _wsServer.Send(String.Empty, String.Empty, new GroupBroadcast(new Dictionary <string, List <string> >() { { e.Groupname, e.UserList } }).GetContainer()); }