摘要:
public struct ObjId : IComparable<ObjId>, IEquatable<ObjId>{public int Cls;public static readonly ObjId Empty;public int Id;public int Owner;public ObjId(int cls, int owner, int id);public ObjId(int cls, ServiceId srv, int id);public static bool operator !=(ObjId x, ObjId y);public stati 阅读全文
摘要:
public async Task MoveToAsync(float destX, float destY) { var x = PlayerEntity.GetProp<float>(CsPropDef.X); var y = PlayerEntity.GetProp<float>(CsPropDef.Y); var src = new Vector2(x, y); var dest = new Vector2(destX, destY); var seeks = P... 阅读全文