TG9six 03a642d635 first push
first push
2025-09-06 17:17:39 +04:00

41 lines
1.1 KiB
C#

using UnityEngine;
using System.Collections;
/**
* Config
* A class with global declarations for the burning realm game client
*
* Authors:
* Jake O'Connor
*/
public class Config
{
public static string CLIENT_VERSION => Application.version.Trim();
public const string LOCAL_HOST = "127.0.0.1";
public const string TEST_SERVER = "77.68.78.218";
// current server
// public const string SERVER_IP = "3.134.5.187";
// test server
public const string SERVER_IP = "34.94.37.191";
public const int LOGOUT_KEY = 1243953842;
public const int SERVER_PORT = 3194;
public const int MAX_PACKET_LENGTH = 16000;//if a packet exceeds this value... you're2 fucked
public const int SERVER_TICK_RATE = 100;//10 updates per second
public const float PLAYERSPEED = 4f;
public const float RENDER_DISTANCE = 128.0f;
//tells the npc to idle after the animation is finished (only works for anims without loop)
public const byte ANIMATION_REVERT_TO_IDLE = 0x01;
//tells the animation to stay at the end (e.g death anim won't go back to idle)
public const byte ANIMATION_NO_REVERT = 0x02;
}