mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
30 lines
665 B
C++
30 lines
665 B
C++
#pragma once
|
|
#include <System/System.h>
|
|
#include "EntityType.h"
|
|
#include "Vector3.h"
|
|
#include "Quaternion.h"
|
|
#include "SerializationBuffer.h"
|
|
|
|
using namespace BS::Player;
|
|
using namespace UnityEngine;
|
|
using namespace CxNetworking::Utils;
|
|
using namespace System;
|
|
namespace BS {
|
|
namespace Networking {
|
|
struct SpawnCharacterMsg : public virtual ValueType
|
|
{
|
|
uint Guid;
|
|
int ClassId;
|
|
EntityType Type;
|
|
String* Name;
|
|
bool IsLocalPlayer;
|
|
Vector3* SpawnPosition;
|
|
Quaternion* SpawnRotation;
|
|
void Serialize(SerializationBuffer* buf);
|
|
void Deserialize(SerializationBuffer* buf);
|
|
SpawnCharacterMsg();
|
|
String* ToString();
|
|
};
|
|
}
|
|
}
|