ProudNet.Eng
WebsiteProud ConsoleLanguage
  • 🌐ProudNet
    • ProudNet Introduction
    • Download and Install
      • How to verify your ProudNet license
      • AMI
    • Project Settings
      • C++
      • C#
      • Mac Xcode
      • Linux
      • Unity3D
        • iOS Build
      • Unreal Engine 4
      • Running the PIDL Compiler
    • Using ProudNet
      • Server and Client
        • Utilization of Server
        • Utilization of Client
      • RMI
        • Utilization of RMI
      • PIDL
        • Utilization of PIDL
      • Event handling
      • Communication messages
      • P2P Communication
        • Using P2P communication
    • Utilization of ProudNet
      • How to use
      • Tips for performance
    • Using DB in ProudNet
      • DB Cache System ver.2
        • DB Cache Theory and Understanding
        • Install DB Cache and Set Up Network
        • DB Cache Server and Client
        • DB Cache usage and application
          • Utilization of DB Cache
      • ADO API
      • ODBC API
    • ProudNet Utility
  • ProudNet Note
    • Technical Notes
      • Main Loop
      • Setting up a server firewall
      • Encryption and decryption
      • What to do in case of an error
      • List of error messages
      • Synchronizing Character Position
      • Client-Server Communication
      • MiniDump (Error Dump System)
      • [Version 1.6] Server-to-Server LAN Communicator
    • Glossary
    • Sample examples
  • 🌐Proud Service
    • Guide for Console
    • ProudChat
      • Download SDK
        • C++
        • C#
        • Unity3D
        • Unreal Engine 4
      • Features in Console
Powered by GitBook
On this page
  • C# ProudChat SDK
  • Project settings
  • ChatClient object
  • - Creating
  • - ChatClient.Init
  • - ChatClient.Disconnect
  • - ChatClient.FrameMove
  • - Function
  • - Event variable
  1. Proud Service
  2. ProudChat
  3. Download SDK

C#

Last updated 11 months ago

Download the ProudChat C# SDK from the link below.

Project settings

Add the DotNetProudChat project file from the SDK folder you downloaded.

In the root project, reference DotNetProudChat by adding a project reference.

ChatClient object

- Creating

Proud.ChatClient chatClient = new Proud.ChatClient();

- ChatClient.Init

This is the part that initializes the ChatClient. The user must call the Init function to connect to the server before using it.

Function Name
Parameters
Description

Init

You write this part of the function to connect the ChatClient with the server. As parameters, it takes a string to initialize the project (authUUID, projectUUID, uniqueID) and two events to check if the login succeeded or failed.

- ChatClient.Disconnect

Function Name
Parameters
Description

Disconnect

-

Use when you want to disconnect with the chat server.

- ChatClient.FrameMove

The ChatClient has to call FrameMove on Update all the time.

- Function

Function Name
Parameters
Description

IsConnected

-

Use when you check the status of server connection.

Join_Channel

Unique key for the channel you want to access

Use when you want to access a specific channel.

Leave_Channel

Unique key for the channel you want to leave

Use this when you want to leave the channel you're in.

Send_Direct_Msg

A unique identification value for a specific recipient, a message to send to the specific party

Use to send a message to a specific person.

Send_Channel_Msg

A unique identification value for a specific channel, a message to send to the specific channel

Use to send a message to a specific channel.

MsgTranslate

src = The country code of current language

target = The country code of the targeting language

msgKey = A unique key of message to translate

msg = A message to translate

(Beta) Use when you want to translate the message

MsgTranslate_Auto

target = The country code of the targeting language

msgKey = A unique key of message to translate

msg = A message to translate

(Beta) Request the translation of the message after automatically detecting the language.

MsgRecord_Channel

channelKey = A unique key of the channel day = The days (max 90) cnt = The counts (max 100)

(Beta) Request the chat data from the Channel. Retrieve up to 100 messages within the last 90 days.

MsgRecord_Direct

target = A unique key of the target user day = The days (max 90) cnt = The counts (max 100)

(Beta) Request the data from the Direct messages. Retrieve up to 100 messages within the last 90 days.

MsgRecord_Notice

day = The days (max 90) cnt = The counts (max 100)

(Beta) Request the data from the Notice. Retrieve up to 100 messages within the last 90 days.

- Event variable

Event variable name
Description

chatClientJoinCompleteDelegate

Event fired when ChatClient completes Init .

chatClientJoinFailedDelegate

Event fired when ChatClient Init Failed occurs.

chatClientDisconnectDelegate

It will be called on server login failure.

channelMsg_ResponseDelegate

Event that delegates when a user sends a message in the channel.

directMsg_ResponseDelegate

Event that delegates when a user sends me a direct message.

notice_ResponseDelegate

Event that delegates when you send a Notice from Proud Console.

channelJoinSuccessDelegate

It will be delegated upon Channel Join Success.

channelJoinFailedDelegate

It will be delegated upon Channel Join failed.

channelLeaveSuccessDelegate

It will be delegated upon Channel Leave Success.

channelLeaveFailedDelegate

It will be delegated upon Channel Leave failed.

msgTranslateSuccessDelegate

(Beta) It will be delegated once the message is successfully translated.

msgTranslateFailedDelegate

(Beta) It will be delegated once the message translation fails.

msgRecordSuccessDelegate

(Beta) It will be delegated once the data history is successfully retrieved.

msgRecordFailedDelegate

(Beta) It will be delegated once the data history retrieval fails.

The user's UUID provided in the , the UUID of a project created by the user, and the user's own UniqueID, Events to be called when Server Connection succeeds, events to be called when Server Login fails

🌐
Proud Console
📂
C# ProudChat SDK