Re: are there Room Administrators in Cute Chat?

  •  08-26-2009, 10:00 AM

    Re: are there Room Administrators in Cute Chat?

    Ilana,
     
    You need use ChatApi class to maintain lobby list (create edit delete) , use lobby.Integration property to save your custom data.
     
    (or you make new table to store the relative data by the lobbyid)
     
    and then override this method of the ChatProvider :
     
    public virtual bool IsLobbyAdmin(IChatLobby lobby,string userid)
     
    , than use lobby.Integration or other relative data to return whether an user is room admin.
     
    ---
     
    CuteChat also allow developer to create runtime rooms , but that is more deep.
    Check the ChatSystem.Start() , ChatSystem.CreatePortalInstance(), ChatPortal.GetPlace(), etc..
     
     
    Regards,
    Terry
View Complete Thread