#243 need a lua function to send mail from npcs, zones, holiday events, etc.

Затворени
отворен преди 3 години от neatz09 · 2 коментара
neatz09 коментира преди 3 години
Все още няма съдържание.
image коментира преди 3 години
Сътрудник
AddPlayerMail(Spawn, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time)
AddPlayerMailByCharID(CharID, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time)

fromName, subjectName, mailBody are strings mailType is a int8:

#define MAIL_TYPE_REGULAR	0
#define MAIL_TYPE_SPAM		1
#define MAIL_TYPE_GM		2

copper,silver,gold,platinum are int32

expire_time int32 time in seconds for expiration, leave 0 for unlimited

sent_time also int32, should be unix timestamp or left as 0 for default time of now

FIELDS THAT DO NOT WORK YET:

item_id int32

stack_size int16

``` AddPlayerMail(Spawn, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time) AddPlayerMailByCharID(CharID, fromName, subjectName, mailBody, mailType, copper, silver, gold, platinum, item_id, stack_size, expire_time, sent_time) ``` fromName, subjectName, mailBody are strings mailType is a int8: ``` #define MAIL_TYPE_REGULAR 0 #define MAIL_TYPE_SPAM 1 #define MAIL_TYPE_GM 2 ``` copper,silver,gold,platinum are int32 expire_time int32 time in seconds for expiration, leave 0 for unlimited sent_time also int32, should be unix timestamp or left as 0 for default time of now FIELDS THAT DO NOT WORK YET: item_id int32 stack_size int16
image посочи тази задача от ревизия преди 3 години
image коментира преди 3 години
Сътрудник

mail items are not supported yet and multiple mail items in box cause issues, handled in new issue: http://cutpon.com:3000/devn00b/EQ2EMu/issues/246

mail items are not supported yet and multiple mail items in box cause issues, handled in new issue: http://cutpon.com:3000/devn00b/EQ2EMu/issues/246
Впишете се за да се присъедините към разговора.
Зареждане...
Отказ
Запис
Все още няма съдържание.