Beispiel #1
0
    public Ai(byte[] bytes)
    {
        Ai matchedAi = Ai.GetAiByPointerValue(bytes);

        this.Id = matchedAi == null?Ai.All.Last().Id : matchedAi.Id;

        this.Bytes = bytes;
        this.Name  = Ai.GetAiName(bytes);
    }
Beispiel #2
0
    public static string GetAiName(byte[] aiAddressPointer)
    {
        Ai matchedAi = Ai.GetAiByPointerValue(aiAddressPointer);

        return(matchedAi == null ? "???" : matchedAi.Name);
    }