project_files/frontlib/net/netconn.h
changeset 7689 855eeee4166f
parent 7580 c92596feac0d
child 7691 55c0a856ecd0
equal deleted inserted replaced
7687:c73fd8cfa7c0 7689:855eeee4166f
   203 	 * you will receive an onEnterRoom callback with chief=true.
   203 	 * you will receive an onEnterRoom callback with chief=true.
   204 	 */
   204 	 */
   205 	int flib_netconn_send_createRoom(flib_netconn *conn, const char *room);
   205 	int flib_netconn_send_createRoom(flib_netconn *conn, const char *room);
   206 
   206 
   207 	/**
   207 	/**
   208 	 * Ban a player. You need to be in the lobby and a server admin for this to work.
   208 	 * Ban a player. The scope of this ban depends on whether you are in a room or in the lobby.
       
   209 	 * In a room, you need to be the room chief, and the ban will apply to the room only. In the
       
   210 	 * lobby, you need to be server admin to ban someone, and the ban applies to the entire server.
   209 	 */
   211 	 */
   210 	int flib_netconn_send_ban(flib_netconn *conn, const char *playerName);
   212 	int flib_netconn_send_ban(flib_netconn *conn, const char *playerName);
   211 
   213 
   212 	/**
   214 	/**
   213 	 * Does something administrator-y. At any rate you need to be an administrator and in the lobby
   215 	 * Does something administrator-y. At any rate you need to be an administrator and in the lobby