|
my_teams
|

Go to the source code of this file.
Functions | |
| int | server_event_team_created (char const *team_uuid, char const *team_name, char const *user_uuid) |
| Must be called when a new team is created. More... | |
| int | server_event_channel_created (char const *team_uuid, char const *channel_uuid, char const *channel_name) |
| Must be called when a new channel is created. More... | |
| int | server_event_thread_created (char const *channel_uuid, char const *thread_uuid, char const *user_uuid, char const *thread_title, char const *thread_body) |
| Must be called when a new thread is created. More... | |
| int | server_event_reply_created (char const *thread_uuid, char const *user_uuid, char const *reply_body) |
| Must be called when a new reply is created in a thread. More... | |
| int | server_event_user_subscribed (char const *team_uuid, char const *user_uuid) |
| Must be called when a user subscribe to a team. More... | |
| int | server_event_user_unsubscribed (char const *team_uuid, char const *user_uuid) |
| Must be called when a user unsubscribe from a team. More... | |
| int | server_event_user_created (char const *user_uuid, char const *user_name) |
| Must be called when a user didn't existed in save and was created. More... | |
| int | server_event_user_loaded (char const *user_uuid, char const *user_name) |
| Must be called when a user was loaded from the save file Should be called at the start of the server once per user loaded It should display all users that were saved. More... | |
| int | server_event_user_logged_in (char const *user_uuid) |
| Must be called when a user logged in. More... | |
| int | server_event_user_logged_out (char const *user_uuid) |
| Must be called when a user logged out. More... | |
| int | server_event_private_message_sended (char const *sender_uuid, char const *receiver_uuid, char const *message_body) |
| Must be called when a private message was sent between users. More... | |
| int server_event_channel_created | ( | char const * | team_uuid, |
| char const * | channel_uuid, | ||
| char const * | channel_name | ||
| ) |
Must be called when a new channel is created.
| team_uuid | The id of the team this channel is in |
| channel_uuid | The id of the created channel |
| channel_name | The name of the new channel |
Commands: /create "channel_name" "channel_description"
| int server_event_private_message_sended | ( | char const * | sender_uuid, |
| char const * | receiver_uuid, | ||
| char const * | message_body | ||
| ) |
Must be called when a private message was sent between users.
| sender_uuid | The id of the user that sent the message |
| receiver_uuid | The if of the user that receive the message |
| message_body | The message body |
Commands: /send "user_uuid" "message_body"
| int server_event_reply_created | ( | char const * | thread_uuid, |
| char const * | user_uuid, | ||
| char const * | reply_body | ||
| ) |
Must be called when a new reply is created in a thread.
| thread_uuid | The id of the thread this message was created in |
| user_uuid | The id of the user who created the reply |
| reply_body | The body of the created reply |
Commands: /create "reply_body"
| int server_event_team_created | ( | char const * | team_uuid, |
| char const * | team_name, | ||
| char const * | user_uuid | ||
| ) |
Must be called when a new team is created.
| team_uuid | The id of the team that was created |
| team_name | The name of the team that was created |
| user_uuid | The id of the user who created the new team |
Commands: /create "team_name" "team_description"
| int server_event_thread_created | ( | char const * | channel_uuid, |
| char const * | thread_uuid, | ||
| char const * | user_uuid, | ||
| char const * | thread_title, | ||
| char const * | thread_body | ||
| ) |
Must be called when a new thread is created.
| channel_uuid | The id of the channel this thread was created in |
| thread_uuid | The id of the created thread |
| user_uuid | The id of the user who created the thread |
| thread_title | The title of the created thread |
| thread_body | The body of the created thread |
Commands: /create "thread_title" "thread_body"
| int server_event_user_created | ( | char const * | user_uuid, |
| char const * | user_name | ||
| ) |
Must be called when a user didn't existed in save and was created.
| user_uuid | The id of the user that was created |
| user_name | The name of the user that was created |
Commands: /login "user_name"
| int server_event_user_loaded | ( | char const * | user_uuid, |
| char const * | user_name | ||
| ) |
Must be called when a user was loaded from the save file Should be called at the start of the server once per user loaded It should display all users that were saved.
| user_uuid | The id of the saved user |
| user_name | The name of the saved user |
Commands: None, should be used at server start
| int server_event_user_logged_in | ( | char const * | user_uuid | ) |
Must be called when a user logged in.
| user_uuid | The id of the user that logged in |
Commands: /login
| int server_event_user_logged_out | ( | char const * | user_uuid | ) |
Must be called when a user logged out.
| user_uuid | The id of the user that logged out |
Commands: /logout When a user lost connexion to the server
| int server_event_user_subscribed | ( | char const * | team_uuid, |
| char const * | user_uuid | ||
| ) |
Must be called when a user subscribe to a team.
| team_uuid | The id of the subscribed team |
| user_uuid | The id of the subscribed user |
Commands: /subscribe "team_uuid"
| int server_event_user_unsubscribed | ( | char const * | team_uuid, |
| char const * | user_uuid | ||
| ) |
Must be called when a user unsubscribe from a team.
| team_uuid | The id of the unsubscribed team |
| user_uuid | The id of the unsubscribed user |
Commands: /unsubscribe "team_uuid"