コード例 #1
0
            private static void OnPossessFamiliar(void *pCreature)
            {
                CNWSCreature creature = CNWSCreature.FromPointer(pCreature);

                ProcessEvent(new OnFamiliarPossess
                {
                    Owner    = creature.ToNwObject <NwCreature>() !,
                    Familiar = creature.GetAssociateId((ushort)AssociateType.Familiar).ToNwObject <NwCreature>() !,
                });