C++:
// Token: 0x040088BB RID: 35003
[Token(Token = "0x40088BB")]
[FieldOffset(Offset = "0x18")]
public byte OwnerPlayerId;
C++:
byte OwnerPlayerId = *(byte*)((uint64_t)instance + 0x18); //public int teamID;
// Token: 0x040088BB RID: 35003
[Token(Token = "0x40088BB")]
[FieldOffset(Offset = "0x18")]
public byte OwnerPlayerId;
byte OwnerPlayerId = *(byte*)((uint64_t)instance + 0x18); //public int teamID;
Honestly... I look at this and am amazed that people are trying to do something without even knowing what data types are in the C++ language and how they differ in general. Are you trying to take an int variable in bool? Are you trying to make this bool in byte afterwards? Do you even understand what nonsense you are doing? Before you climb, understand at least the elementary things!